{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">
<head>
    <title>添加新版本</title>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="description" content="Expand, contract, animate forms with jQuery wihtout leaving the page" />
    <meta name="keywords" content="expand, form, css3, jquery, animate, width, height, adapt, unobtrusive javascript"/>
    <link rel="shortcut icon" href="__PUBLIC__/images/favicon-3.ico" type="image/x-icon"/>

    {include file="public/head" title="$templateTitle" /}
    {include file="public/scripts" /}
</head>
<body style="background-color: #FFF">
<div class="container">
    <div class="">
        <h2 style="text-align: center;">添加新版本安装包</h2>
    </div>
    <form class="form-horizontal" method="post" enctype="multipart/form-data">
        <div class="form-group" style="margin-top: 10px;">
            <label class="control-label col-xs-3">当前版本：</label>
            <div class="col-xs-8">
                <input type="text" class="form-control" value="{$version}" readonly>
            </div>
        </div>
        <div class="form-group" style="margin-top: 10px;">
            <label class="control-label col-xs-3">最新版本：</label>
            <div class="col-xs-8">
                <div class="input-group">
                    <input type="text" class="form-control" name="version_1" placeholder="一级版本">
                    <div class="input-group-addon">.</div>
                    <input type="text" class="form-control" name="version_2" placeholder="二级版本">
                    <div class="input-group-addon">.</div>
                    <input type="text" class="form-control" name="version_3" placeholder="三级版本">
                </div>
                <span style="display: block; margin-top: 15px;">若您的版本号为两级，请留空三级版本。</span>

            </div>
        </div>
        <div class="form-group" style="margin-top: 10px;">
            <label class="control-label col-xs-3">安&nbsp;装&nbsp;包&nbsp;：</label>
            <div class="col-xs-8">
                <input type="file" class="form-control" name="apk">
            </div>
        </div>
        <div class="form-group" style="margin-top: 10px;">
            <label class="control-label col-xs-3">版本说明：</label>
            <div class="col-xs-8">
                <textarea class="form-control" name="desc" rows="5" placeholder="输入新版本的描述信息"></textarea>
            </div>
        </div>
        <div class="form-group" style="margin-top: 10px;">
            <label class="control-label col-xs-3">身份验证：</label>
            <div class="col-xs-8">
                <input type="password" class="form-control" name="token" placeholder="输入身份验证token">
            </div>
        </div>

        <div class="form-group" style="margin-top: 10px;">
            <div class="col-xs-offset-3 col-xs-3">
                <button type="submit" class="btn btn-success btn-block">确认添加</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>